package cn.wolfcode.luowowo.article.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Getter
@Setter
@Document("hotel")
public class Hotel {

    @Id
    private String _id;

    private Long destId;//哪个目的地的酒店id

    private String destName;

    private String name;//酒店名

    private double score;//分数

    private String englishName;//英文名

    private String img;//图片

    private String address;//地址

    private boolean onSale;//是否特价

    private int price;//价格

    private Long regionId;

    private List<String> tags;
}